import redis

queryConfig = {
  'p': {
    'search': {
      'fq': [
        {
          'fi': 'STATUS',
          'te': '',
          'co': 'OR',
        },
        {
          'fi': 'SOURCE',
          'te': '',
          'co': 'OR',
        },
      ],
    },
    'rows': 100,
    'start': 0,
  },
  'type': 'brand',
  'la': 'en',
  'queue': 1,
}

queryCofigDes = {
  'p': {
    'rows': 30,
    'start': 0,
  },
  'type': 'hague',
  'la': 'en',
  'qi': '',
}

# db
MONGO_URL = 'localhost'
MONGO_PORT = 27017
MONGO_DB = 'local'

# redis
db_host = '127.0.0.1'
db_port = 6379
db_index = 0
conn = redis.StrictRedis(host=db_host, port=db_port, db=db_index, decode_responses=True)

# proxy
dby_url = "http://httpbapi.dobel.cn/User/getIp"
account = "EALJYLJf1w12grTA"
accountKey = "guixuqi7310"
num = "1"
city = "all"

